<ul class="pagination">
  <li ng-if="noPrevious()" ng-class="{disabled: noPrevious()}"><a>首页</a></li>
  <li ng-if="noPrevious()" ng-class="{disabled: noPrevious()}"><a>上一页</a></li>
  <li ng-if="!noPrevious()">
    <a href ng-click="selectPage({pageIndex: 1})">首页</a>
  </li>
  <li ng-if="!noPrevious()">
    <a href ng-click="selectPage({pageIndex: currentPage - 1})">上一页</a>
  </li>
  <li ng-repeat="page in pages track by $index" ng-class="{active: page.active}">
    <a href ng-click="selectPage({pageIndex: page.index})">{{page.text}}</a>
  </li>
  <li ng-if="!noNext()">
    <a href ng-click="selectPage({pageIndex: currentPage + 1})">下一页</a>
  </li>
  <li ng-if="!noNext()">
    <a href ng-click="selectPage({pageIndex: totalPages})">尾页</a>
  </li>
  <li ng-if="noNext()" ng-class="{disabled: noNext()}"><a>下一页</a></li>
  <li ng-if="noNext()" ng-class="{disabled: noNext()}"><a>尾页</a></li>
  <!--<li>-->
    <!--<div class="input-group page-input"><input type="text" class="form-control" placeholder="GO"></div>-->
  <!--</li>-->
  <li class="disabled"><span>第{{ currentPage }}页/共{{ totalPages }}页</span></li>
  <!--<li>-->
    <!--<div class="input-group dropup" style="float: left;">-->
      <!--<button class="btn btn-default dropdown-toggle pagesize-fix-right" type="button" data-toggle="dropdown"-->
              <!--aria-expanded="true">每页显示<span class="pagesize">10</span>条<span class="caret"></span></button>-->
      <!--<ul class="dropdown-menu" role="menu">-->
        <!--<li role="presentation" class="active"><a role="menuitem" tabindex="-1" href="javascript:;">10</a></li>-->
        <!--<li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:;">20</a></li>-->
        <!--<li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:;">30</a></li>-->
        <!--<li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:;">50</a></li>-->
        <!--<li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:;">100</a></li>-->
        <!--<li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:;">200</a></li>-->
      <!--</ul>-->
    <!--</div>-->
  <!--</li>-->
</ul>